package lesson01.oop;

import java.util.ArrayList;
import java.util.List;

public class TestMain4 {
	public static void main(String[] args) {
//		List list = new ArrayList<>();
		Meat meat1 = new 羊肉();
		Meat meat2 = new 牛肉();
		
		Person p = new Person();
		p.name = "mazheng";
		
		p.eatMeat(meat1);
		p.eatMeat(meat2);
		
	}
}
